package com.ruoyi.client.mapper;

import com.ruoyi.client.pojo.vo.GoodsDetailVo;
import com.ruoyi.client.pojo.vo.GoodsVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;

@Mapper
public interface ClientGoodsMapper {

    List<GoodsVo> queryPage(Map<String, Object> params);

    // 参数改为Long，与Service层保持一致
    GoodsDetailVo selectVoById(@Param("id") Long id);

    List<String> getCategoryNamesByStoreId(@Param("storeId") Integer storeId);

    List<GoodsVo> queryBlindBoxGoods();
}